<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>访问出错</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<script type="text/javascript">
setTimeout("window.location.href='../'", 1000);
</script>
</head>
<body>
	<%
		String code = request.getParameter("code");
	 	String rtn= "";
		if (code == null) {
			rtn="访问出错！";
		} else if (code.equals("403")) {
			rtn="您无权访问该页面，请重新登陆！";
		} else if (code.equals("404")) {
			rtn="您访问的页面不存在！";
		} else if (code.equals("loginFailed")) {
			rtn="登陆失败，请检查用户名和密码是否正确！";
		} else if (code.equals("unsafe")) {
			rtn="访问出错，请勿非法访问文件！";
		} else {
			rtn="访问出错！";
		}
		out.print(rtn);
	%><br>
</body>
</html>
